package com.coocaa.ops.admin.v1.homepage.mapper;

import com.coocaa.ops.common.core.biz.homepage.entity.HomepageInfoEntity;
import com.coocaa.ops.common.core.base.mapper.IBaseMapper;
import com.coocaa.ops.common.core.biz.policygroup.entity.PolicyGroupChipModelConfigEntity;
import com.coocaa.ops.common.core.biz.policygroup.entity.PolicyGroupInfoEntity;

import java.util.List;


/**
 * @author bjh
 * @description 首页信息原始表-Mapper 接口
 * @date 2020-06-15 16:31:15
 */
public interface IHomepageInfoMapper extends IBaseMapper<HomepageInfoEntity> {
    /**
     * 查询关联的策略
     *
     * @param homepageId
     * @return
     */
    List<PolicyGroupInfoEntity> queryRlsPolicy(Integer homepageId);

    /**
     * 查询关联的机型机芯
     *
     * @param homepageId
     * @return
     */
    List<PolicyGroupChipModelConfigEntity> queryRlsChipModel(Integer homepageId);
}

